package com.woniuxy.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.woniuxy.cloud.api"})
public class GatewayApplication {
    @RequestMapping
    public String hello() {
        return "Hello Spring Boot!";
    }
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }

}
